package lab02.test35;

/**
 * Created by dell on 2017/11/19.
 */
public abstract class Employee {
        //描述所有雇员的共同特性，这个类应该提供一个计算工资的抽象方法computeSalary( )
        private String name;
        public Employee(String name){
            this.name=name;
        }
        public String getName(){
            return name;
        }
        public abstract double computeSalary();
}
